import requests
from settings import VERIFY_CRT_PATH

proxy = '36.6.145.164:8089'
url = "https://www.baidu.com/"
proxies = {
        "http":"http://"+ proxy,
        "https":"https://"+ proxy
    }
header = {
 'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.19582'
}

resp = requests.head(url,headers=header,proxies=proxies,verify=VERIFY_CRT_PATH)
print(resp.status_code)